package com.yxw.live_vod_backend_facade.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 消息通知类型Vo
 * @author liuxin
 * @date 2023-12-06
 */
@Data
@ApiModel(value="NoticeTypeVo", description="消息通知类型Vo")
public class NoticeTypeVo implements Serializable {

    @ApiModelProperty(value="主键")
    private Long typeId;

    @ApiModelProperty(value="通知类型编码")
    private String noticeTypeCode;

    @ApiModelProperty(value="通知类型名称")
    private String noticeTypeName;

    @ApiModelProperty(value="触发条件编码")
    private String useTypeCode;

    @ApiModelProperty(value="触发条件名称")
    private String useTypeName;

    @ApiModelProperty(value="通知内容")
    private String content;

    @ApiModelProperty(value="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value="状态 0-禁用 1-启用")
    private Integer status;

    @ApiModelProperty(value="更新人ID")
    private Long updateId;

    @ApiModelProperty(value="更新人名称")
    private String updateName;

    @ApiModelProperty(value="更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty(value="是否有明细跳转 0：否 1：是")
    private Integer detailType;

    @ApiModelProperty(value="消息类型归属：1-新朋友 2-互动消息 3-系统消息")
    private Integer belongType;
}
